<?php

namespace app\client\controller\student;

use app\common\controller\Frontend;
use app\common\model\banxi\Grade as GradeModel;

class Grade extends Frontend
{
    protected array $noNeedLogin = ['listSelectPage'];

    protected array $noNeedPermission = ['*'];

    public function initialize(): void
    {
        parent::initialize();
    }

    public function listSelectPage()
    {
       $list =  GradeModel::select();
       $this->ok(__('Operation completed'), $list);
    }


}